<!DOCTYPE html>
<html lang="en" ng-app="teamCommOrderListApp">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <title>团队返佣</title>
    <link href="css/teamCommOrder.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">
        (function(doc_01, win_01) {
            var docEl_01 = doc_01.documentElement;
            var resizeEvt_01 = 'orientationchange' in window ? 'orientationchange' : 'resize';
            var recalc_01 = function() {
                var clientWidth_01 = docEl_01.clientWidth;
                var clientheight_01 = docEl_01.clientHeight;
                if(!clientWidth_01) return;
                if(clientWidth_01 < 751) {
                    docEl_01.style.fontSize = (clientWidth_01 / 750 * 100).toFixed(1) + 'px';
                } else {
                    docEl_01.style.fontSize = 100 + 'px';
                }
            };
            recalc_01();
            if(!doc_01.addEventListener) return;
            win_01.addEventListener(resizeEvt_01, recalc_01, false);

        })(document, window);
    </script>
</head>
<body class="index" ng-controller="TeamCommOrderListCtrl">
    <div class="wrapper">
        <div class="layout">
            <div class="orderlist_box">
                <div class="team_leaguer" ng-repeat="item in teamCommOrderList">
                    <div class="tuan1">团队成员：{{item.commBelongerUser}}</div>
                    <div class="box1" style="margin-top: 0px;" ng-repeat="orderItem in item.orderList">

                        <div class="{{$index==0 ?'none': 'tuan2'}}"></div>
                        <div class="box1_top">
                            <i></i>
                            <div class="auto">
                                <p class="p1">订单号: {{orderItem.orderId}}</p>
                                <p class="p2">下单时间: {{orderItem.orderTime}}</p>
                            <div class="clear"></div>
                            </div>
                        </div>
                        <div class="border"></div>
                        <div class="content" ng-repeat="skuItem in orderItem.orderSkuList">
                            <!--<a href="javascript:;" ng-click="goToCommOrderDetail(skuItem)" style="text-decoration : none;">-->
                            <div class="main">
                                <h3>{{skuItem.skuName}}</h3>
                                <p style="margin-bottom: 9px;">订单金额：<span style="color: #111111;">{{skuItem.skuSubTotal}}</span></p>
                                <p>返佣金额：<span style="color: #fb5c31;">{{skuItem.orderCommission}}</span></p>
                                <!-- 订单状态（已取消-0,新建-1,待支付-2,拣货中-3,待发货-4,待收货-5,已收货-6,申请取消-8,取消中（等第三方确认）-9,退款完成-100）-->
                                <!--<div class="wei" ng-if="skuItem.orderSkuStatus == 1">未支付</div>-->
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 0">已取消</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 2">待支付</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 3">拣货中</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 4">待发货</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 5">待收货</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 6">已收货</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 8">申请取消</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 9">取消中</div>
                                <div class="quxiao" ng-if="skuItem.orderSkuStatus == 100">退款完成</div>
                            </div>
                            <div class="border"></div>
                            <!--</a>-->
                        </div>
                    </div>
                </div>
                <div class="tuan1"></div>
                <div id="loading_msg" style="height: 0.8rem; background: white;"></div>
                <!--<div id="loadingDoneContainer">没有数据了!</div>-->
            </div>
            <!--<p class="loadingMore"></p>-->
            <p class="no_dataText">{{no_dataText}}</p>
        </div>
    </div>

    <!-- 重新加载 -->
    <div class="loading-pop">
        <img id="load_img" src="../market/images/loading.gif" class="loading-img">
        <span id="reload" class="reload-msg" style="display:none" ng-click="reload()">重新加载</span>
        <!--<span id="reload" class="loading-img" style="display:none" ng-click="reload()">重新加载</span>-->
    </div>

    <!-- 返回顶部按钮 -->
    <div class="to_top"><img src="../market/images/to_top.png"/></div>

    <!-- 引入的js -->
    <script src="../market/lib/jquery-2.1.1.min.js" type="text/javascript"></script>
    <script src="../market/lib/jquery.mobile-1.4.5-custom-min.js"></script>
    <script src="../market/lib/idangerous.swiper.js" type="text/javascript"></script>
    <script src="../market/lib/angular/angular.min.js" type="text/javascript"></script>
    <script src="../market/lib/angular/angular-route.min.js" type="text/javascript"></script>
    <script src="../market/lib/angular/angular-resource.min.js" type="text/javascript"></script>
    <script src="js/home_commission.js" type="text/javascript"></script>
    <script src="js/teamcomm_order.js"></script>
    <script src="../market/lib/moment.min.js"></script>
    <script src="../market/js/filters.js"></script>
</body>
</html>